Hearing augmentation and wearable system with localized feedback

ABSTRACT

Aspects of the present disclosure provide techniques, including devices and system implementing the techniques, to provide feedback to a user of an event when the user is wearing a wearable device. For example, the wearable device may provide high quality noise canceling audio playback to the user, lowering the user&#39;s situation awareness. The techniques include measuring ambient sound using two or more microphones on the wearable device. The event is determined based on the measured ambient sound. A location attribute of the event is determined. A deep learning algorithm may be used to identify the nature and/or classification of the event and rule out events that the user prefers to ignore. Upon determining the event that merits the user&#39;s attention, the user is provided feedback of the determined event and the location attribute, the feedback indicating the nature and location of the event.

FIELD

Aspects of the disclosure generally relate to wireless communication, and more specifically to audio signal processing involving a wearable device in wireless communication with a computing device.

BACKGROUND

Wearable devices may provide a user desired transmitted or reproduced audio experiences by masking, proofing against, or canceling ambient noises. High volume output or white noises generated by the wearable devices may mask ambient noises. Soundproofing reduces sound pressure by reflecting or absorbing sound energy. Noise cancellation, or active noise control/reduction, reduces ambient noises by the addition of a second sound that cancels the ambient noises. In these cases, the user may fail to pay attention to events that require attention, such as alarms, warning sounds, or verbal communications in the environment. Furthermore, if the user is focused on the task at hand, the user may lack other senses (e.g., visual) that would otherwise be available to inform the user regarding such events.

Accordingly, methods for providing users adequate and non-intrusive (e.g., preserving the desired audio experiences) notifications regarding certain background events, as well as apparatuses and systems configured to implement these methods are desired.

SUMMARY

All examples and features mentioned herein can be combined in any technically possible manner.

Aspects of the present disclosure provide a method for providing feedback to a user of a wearable device. The method includes measuring ambient sound using two or more microphones on the wearable device; determining an event based on the measured ambient sound; determining a location attribute of the event relative to the wearable device; and providing feedback to the user based on the event and the location attribute.

In aspects, providing feedback to the user based on the event and the location attribute includes playing a spatialized audio cue in addition to the audio content.

In aspects, determining the event based on the measured ambient sound includes: measuring a magnitude of a sound level of the event; and determining a location of the event relative to the wearable device using audio signals associated with the event, wherein the location of the event is determined based on a direction and a distance processed from the audio signals and wherein the location attribute of the event includes at least one of the direction or the distance. In some cases, determining the event based on the ambient sound further includes ruling out incidents of events based on at least one of: the location of the event relative to the wearable device; a recurring pattern in the audio signals associated with the event; or an attribute of the audio signals associated with the event.

In aspects, determining the event based on the measured ambient sound includes determining that the magnitude of the sound level of the event exceeds a threshold value corresponding to the location of the event relative to the wearable device. In some cases, the threshold value varies based on the location of the event relative to the wearable device and the threshold value increases as the location of the event becomes closer to the user.

In aspects, determining the event based on the ambient sound is based, at least in part, on correlating: i) the location of the event relative to the wearable device, ii) the recurring pattern in the audio signals associated with the event, and iii) the attribute of the audio signal associated with the event. In some cases, determining the event is based, at least in part, on a deep learning analysis performed by artificial intelligence using data of the location of the event relative to the wearable device, the recurring pattern in the audio signals associated with the event, and the attribute of the audio signal associated with the event.

In aspects, providing feedback to the user based on the event includes at least one of: playing a spatialized sound using at least one speaker of the wearable device; providing a direction-indicative tactile notification using the wearable device; or displaying a notification on one or more devices connected to the wearable device.

In some cases, the spatialized sound represents a location of the determined event relative to the user, wherein the represented location is based on at least the location attribute.

In aspects, the method further includes determining the user is in a focused state based on a pattern of motion signals measured by the wearable device, wherein providing feedback to the user based on the event and the location attribute is based on the determined focused state. In some cases, determining the user is in the focused state includes processing the pattern of motion signals measured by one or more inertia measurement units (IMUS) disposed on the wearable device.

In aspects, the two or more microphones on the wearable device includes at least three microphones positioned to measure the ambient sound surrounding the user.

In aspects, the wearable device is an audio device worn on at least one of the head or neck of the user.

In aspects, the wearable device includes at least one of over-ear headphones, on-ear headphones, in-ear headphones, earbuds, truly wireless earbuds, glasses, a headband, a neckband, ear hooks, ear clips, a head-worn audio device, or a neck-worn audio device.

In aspects, the wearable device is a noise cancelling audio device.

Aspects of the present disclosure provide a system for providing a user spatialized feedback. The system includes a wearable device having two or more microphones configured to measure ambient sound; and a computing device connected with the wearable device. The computing device is configured to: determine an event based on the measured ambient sound, determine a location attribute of the event relative to the wearable device; and cause feedback to be provided to the user based on the event and the location attribute.

In aspects, the wearable device further includes two or more speakers configured to: play an audio content canceling the measured ambient sound; and alert the user of the determined event by playing a spatialized audio cue in addition to the audio content.

In aspects, the wearable device further includes an actuator for providing a tactile feedback in response to the computing device providing feedback to the user based on the event.

In aspects, the computing is further configured to rule out incidents of events based on at least one of: the location of the event relative to the wearable device; a recurring pattern in the audio signals associated with the event; or an attribute of the audio signals associated with the event.

Two or more features described in this disclosure, including those described in this summary section, may be combined to form implementations not specifically described herein.

The details of one or more implementations are set forth in the accompanying drawings and the description below. Other features, objects, and advantages will be apparent from the description and drawings, and from the claims.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates an example system in which aspects of the present disclosure may be implemented.

FIG. 2A illustrates an exemplary wireless audio device, in accordance with certain aspects of the present disclosure.

FIG. 2B illustrates an exemplary computing device, in accordance with certain aspects of the present disclosure.

FIG. 3 illustrates example operations for providing feedback to a user of a determined event and the location attribute, according to certain aspects of the present disclosure.

FIG. 4 illustrates example data processing for extracting location attribute of events, according to certain aspects of the present disclosure.

FIG. 5 illustrates an example visual presentation of determined events and the related location attributes, according to certain aspects of the present disclosure.

FIG. 6 illustrates an example deep learning process for determining events that require user's attention, according to certain aspects of the present disclosure.

FIG. 7 illustrates an example process for determining events based on sound energy, according to certain aspects of the present disclosure.

FIG. 8 illustrates motion data used to determine a state of a user, according to certain aspects of the present disclosure.

Like numerals indicate like elements.

DETAILED DESCRIPTION

The present disclosure provides processes, methods, systems, and devices for providing feedback to a user of an event (e.g., a barge-in event, or one that requires the user's attention and not one that the user ignores) when the user is wearing a wearable audio output device. For example, the user may, absent the feedback, fail to pay attention to the event due to, for example, enjoying an audio experience provided by the wearable device. The method includes measuring ambient sound (i.e., the sound that is not part of the audio experience) using two or more microphones on the wearable device. The event is determined based on the measured ambient sound. A location attribute of the event is determined (this may be referred to as “localization”). Feedback of the determined event and the location attribute is then provided to the user. In some cases, determining the event based on the measured ambient sound employs algorithms based on deep learning that identifies and removes happenings in the surroundings that do not require the user's attention. The algorithms may use loudness, location, and various characteristics of the sounds in the ambient sound to determine the event. The feedback of the determined event may be presented to the user, the feedback including, for example, the location attribute and/or letting the user know where attention should be directed.

Users often lose at least some situational awareness when using wearable audio devices, especially when using active noise canceling headphones that are intended to remove ambient sound. In another example, situational awareness is decreased when the volume of the audio at an excessive level that masks over ambient sound or having good soundproofing (e.g., passive sound insulation). Another example of situational awareness is decreased when the user is in a focused state, such as when working, studying, or reading, with the aid of the wearable audio device (e.g., canceling or attenuating ambient sound). Reduced situational awareness may result in costly or troublesome consequences, such as when the event merits a timely response. The present disclosure provides techniques to provide spatialized feedback to the user of events that may merit attention, while providing an enjoyable audio experience to the user.

In aspects, the disclosed techniques may augment a user's awareness using sound event detection and audio cues representing the detected sound event. In a working or working-from-home environment, the user may be in a focused state and less aware of the user's surroundings. A noise canceling wearable device may further reduce the user's awareness. The user may want or need to pay attention to incoming verbal communications, door bells, or other alarms or sound notifications that may be effectively cancelled by the wearable device. As such, the disclosed techniques allow the user to focus and benefit from noise-canceling wearable devices without losing situational awareness. In some cases, the audio cues are designed to be informative and minimally disruptive. This allows the user to determine, after learning about the event, when and how to react to the event while maintaining the option to ignore the event. In aspects, additional visualization or notification strategies are used together with the audio cues to help the user interpret the event.

The disclosed techniques are implemented using a combination of microphones and inertia measurement units (IMUs). For example, the techniques first set a loudness threshold to detect barge-in events that are different from base-level noises. This step may be referred to as “event detection”. The techniques then determine one or more location attributes of the barge-in events, such as identifying a direction and distance of the events. The techniques then use inputs from the IMUs to determine whether the user may be causing or already is aware of the detected events. If the event is determined to merit the user's attention, the techniques further include providing spatialized audio feedback to the user, informing the user of the location of the event.

In aspects, localization and event detection are performed on the wearable device to minimize latency and provide access to a full array of microphones thereon. The user may be prompted with a spatialized audio cue in the direction of the event (e.g., left or right, above or below) when the following example operations are performed. First, an activity detection algorithm is executed using the microphones on the wearable device and connected/controlled by a processor (either on the wearable device or on an external computing device). As mentioned, the activity detection algorithm may be running at the wearable device to minimize transmission latency. In some cases, the activity detection algorithm may be running at a computing device in wireless communication with the wearable device in order to use a more powerful processor in the computing device. The activity detection algorithm detects a sudden change of sound energy (e.g., a sudden decibel level increase) to identify an event separate from the ambient sound. The activity detection algorithm detects a characteristic of sound, such as speeches or a voice activity, to identify an event separate from the ambient sound.

Second, a location attribute of the event is determined and a second layer of data processing ascertains the nature of the event. For example, by determining the distance of the event, the activity detection algorithm may further distinguish sounds created by the user (e.g., the user's own speech) from sounds of an event in the far field (e.g., door knocking sound across the room). In some cases, events that are determined to be facing the user (i.e., in front of the user within certain distance) are disregarded, as such events can be visually acquired by the user. The location attribute may include distance, direction, or both. The distance and direction may be computed using audio data captured by two or more microphones spaced apart in the wearable device.

Third, a movement measurement is correlated with the event to determine whether the user needs to be notified regarding the event. For example, a lack of movement measured by motion sensors may indicate the user is in a focused state. The user may more likely desire feedback of an event while in a focused state. In addition, the movement measurement may help the activity detection algorithm correctly identify the location attribute, taking into consideration the relative location variations caused by the user's own movements.

In aspects, the activity detection algorithm may include lightweight, threshold-based digital signal processing (DSP) algorithms running on processors embedded in the wearable device. The wearable device may provide a user interface, such as a sensitivity slider, for controlling a threshold that adjusts detection sensitivity. For example, a more sensitive setting leads to reporting events with less scrutiny and may result in increased false-positive detections. In addition to providing spatialized audio cues to the user, the wearable device may further provide information to the external computing device. The external computing device may display the event and its location attribute on a user interface. In an example, the user interface shows a “radar” display that informs the user about the nature of the event (e.g., type of event, such as speech, knocking sound, alarm, etc.) and location of the event relative to the user.

In some cases, the activity detection algorithm includes, or process concurrently with, an event analysis algorithm running on an external computing device. The event analysis algorithm may include a deep learning algorithm that performs various layers of processing to be trained regarding specific preference of the user. For example, the user may provide feedback or indications in the event analysis algorithm to teach the event analysis algorithm about the nature and priority of events detected by the wearable device. In an example, the event analysis algorithm is trained to recognize certain speech data (e.g., of a certain person, of a certain category, etc.) and upon recognition, transcribe the speech data into text. The event analysis algorithm may classify the event into different priority levels based on the recognition: for example, a fire alarm may have a higher priority than a door bell. In aspects, the event analysis algorithm on the computing device may access to the two or more microphones of the wearable device via wireless connection, such as using near field communication (e.g., Bluetooth). In aspects, the event analysis algorithm may be combined with, or work concurrently with the activity detection algorithm running on the wearable device. In some cases, the event analysis algorithm and the activity detection algorithm may be collectively referred to as the event determination algorithm.

FIG. 1 illustrates an example system 100 in which aspects of the present disclosure are practiced. As shown, system 100 includes a wearable device 110 communicatively coupled with a computing device 120. The wearable device 110 is illustrated as a headset that includes two or more speakers and two or more microphones. The computing device 120 is illustrated as a smartphone or a tablet computer wirelessly paired with the wearable device 110. At a high level, the wearable device 110 may play audio content transmitted from the computing device 120. The user may use the graphical user interface (GUI) on the computing device 120 to select the audio content and/or adjust settings of the wearable device 110. The wearable device 110 provides soundproofing, active noise cancellation, and/or other audio enhancement features to play the audio content transmitted from the computing device 120. According to aspects of the present disclosure, upon determining events that require the user's attention, the wearable device 110 and/or the computing device 120 may provide a non-intrusive, spatialized notification or feedback to the user regarding the events and location attributes thereof.

In an aspect, the wearable device 110 includes at least two microphones 111 and 112 to capture ambient sound. The captured sound may be used for active noise cancellation and/or event detection. For example, the microphones 111 and 112 are positioned on opposite side of the wearable device 110. The audio signals captured by the microphones 111 and 112 may be correlated and/or triangulated to determine location attributes of detected events. In aspects, additional microphones positioned at different locations of the wearable device 110 may be used to enhance the accuracy of the location determination.

In an aspect, the headphones 110 include voice activity detection (VAD) circuitry capable of detecting the presence of speech signals (e.g. human speech signals) in a sound signal received by the microphones 111, 112 of the headphones 110. For instance, the microphones 111, 112 of the headphones 110 can receive ambient external sounds in the vicinity of the headphones 110, including speech uttered by the user. The sound signal received by the microphones 111, 112 may have the speech signal mixed in with other sounds in the vicinity of the headphones 110. Using the VAD, the headphones 110 can detect and extract the speech signal from the received sound signal. In an aspect, the VAD circuitry can be used to detect and extract speech uttered by the user in order to facilitate a voice call, voice chat between the user and another person, or voice commands for a virtual personal assistant (VPA), such as a cloud based VPA. In other examples, detections or triggers can include self-VAD (only starting up when the user is speaking, regardless of whether others in the area are speaking), active transport (sounds captured from transportation systems), head gestures, buttons, computing device based triggers (e.g., pause/un-pause from the phone), changes with input audio level, audible changes in environment, among others. The voice activity detection circuitry may run or assist running the activity detection algorithm disclosed herein.

The wearable device 110 further includes hardware and circuitry including processor(s)/processing system and memory configured to implement one or more sound management capabilities or other capabilities including, but not limited to, noise canceling circuitry (not shown) and/or noise masking circuitry (not shown), body movement detecting devices/sensors and circuitry (e.g., one or more accelerometers, one or more gyroscopes, one or more magnetometers, etc.), geolocation circuitry and other sound processing circuitry.

In an aspect, the wearable device 110 is wirelessly connected to the computing device 120 using one or more wireless communication methods including, but not limited to, Bluetooth, Wi-Fi, Bluetooth Low Energy (BLE), other RF-based techniques, or the like. In an aspect, the wearable device 110 includes a transceiver that transmits and receives data via one or more antennae in order to exchange audio data and other information with the computing device 120.

In an aspect, the wearable device 110 includes communication circuitry capable of transmitting and receiving audio data and other information from the computing device 120. The wearable device 110 also includes an incoming audio buffer, such as a render buffer, that buffers at least a portion of an incoming audio signal (e.g., audio packets) in order to allow time for retransmissions of any missed or dropped data packets from the computing device 120. For example, when the wearable device 110 receives Bluetooth transmissions from the computing device 120, the communication circuitry typically buffers at least a portion of the incoming audio data in the render buffer before the audio is actually rendered and output as audio to at least one of the transducers (e.g., audio speakers) of the wearable device 110. This is done to ensure that even if there are RF collisions that cause audio packets to be lost during transmission, that there is time for the lost audio packets to be retransmitted by the computing device 120 before they have to be rendered by the wearable device 110 for output by one or more acoustic transducers of the wearable device 110.

The audio output device 110 is illustrated as over the head headphones; however, the techniques described herein apply to other wearable devices, such as wearable audio devices, including any audio output device that fits around, on, in, or near an ear (including open-ear audio devices worn on the head or shoulders of a user) or other body parts of a user, such as head or neck. The wearable device 110 may take any form, wearable or otherwise, including standalone devices (including automobile speaker system), stationary devices (including portable devices, such as battery powered portable speakers), headphones, earphones, earpieces, headsets, goggles, headbands, earbuds, armbands, sport headphones, neckband, or eyeglasses.

In an aspect, the wearable device 110 is connected to the computing device 120 using a wired connection, with or without a corresponding wireless connection. The computing device 120 can be a smartphone, a tablet computer, a laptop computer, a digital camera, or other computing device that connects with the wearable device 110. As shown, the computing device 120 can be connected to a network 130 (e.g., the Internet) and can access one or more services over the network. As shown, these services can include one or more cloud services 140.

In an aspect, the computing device 120 can access a cloud server in the cloud 140 over the network 130 using a mobile web browser or a local software application or “app” executed on the computing device 120. In an aspect, the software application or “app” is a local application that is installed and runs locally on the computing device 120. In an aspect, a cloud server accessible on the cloud 140 includes one or more cloud applications that are run on the cloud server. The cloud application can be accessed and run by the computing device 120. For example, the cloud application can generate web pages that are rendered by the mobile web browser on the computing device 120. In an aspect, a mobile software application installed on the computing device 120 or a cloud application installed on a cloud server, individually or in combination, may be used to implement the techniques for low latency Bluetooth communication between the computing device 120 and the wearable device 110 in accordance with aspects of the present disclosure. In an aspect, examples of the local software application and the cloud application include a gaming application, an audio AR application, and/or a gaming application with audio AR capabilities. The computing device 120 may receive signals (e.g., data and controls) from the wearable device 110 and send signals to the wearable device 110.

FIG. 2A illustrates an exemplary wearable device 110 and some of its components. Other components may be inherent in the wearable device 110 and not shown in FIG. 2A. For example, the wearable device 110 may include an enclosure that houses an optional graphical interface (e.g., an OLED display) which can provide the user with information regarding currently playing (“Now Playing”) music.

The wearable device 110 includes one or more electro-acoustic transducers (or speakers) 214 for outputting audio. The wearable device 110 also includes a user input interface 217. The user input interface 217 can include a plurality of preset indicators, which can be hardware buttons. The preset indicators can provide the user with easy, one press access to entities assigned to those buttons. The assigned entities can be associated with different ones of the digital audio sources such that a single wearable device 110 can provide for single press access to various different digital audio sources.

The feedback sensor 111 and feedforward sensors 112 may include two or more microphones for capturing ambient sound and provide audio signals for determining location attributes of events. For example, the feedback sensor 111 may provide a mechanism for determining transmission delays between the computing device 120 and the wearable device 110. The transmission delays may be used to reduce errors in subsequent computation. The feedback sensors 112 may provide two or more channels of audio signals. The audio signals are captured by microphones that are spaced apart and may have different directional responses. The two or more channels of audio signals may be used for calculating directional attributes of an event of interest.

As shown in FIG. 2A, the wearable device 110 includes an acoustic driver or speaker 214 to transduce audio signals to acoustic energy through the audio hardware 223. The wearable device 110 also includes a network interface 219, at least one processor 221, audio hardware 223, power supplies 225 for powering the various components of the wearable device 110, and memory 227. In an aspect, the processor 221, the network interface 219, the audio hardware 223, the power supplies 225, and the memory 227 are interconnected using various buses 235, and several of the components can be mounted on a common motherboard or in other manners as appropriate.

The network interface 219 provides for communication between the wearable device 110 and other electronic computing devices via one or more communications protocols. The network interface 219 provide seither or both of a wireless network interface 229 and a wired interface 231 (optional). The wireless interface 229 allows the wearable device 110 to communicate wirelessly with other devices in accordance with a wireless communication protocol such as IEEE 802.11. The wired interface 231 provides network interface functions via a wired (e.g., Ethernet) connection for reliability and fast transfer rate, for example, used when the wearable device 110 is not worn by a user. Although illustrated, the wired interface 231, is optional.

In certain aspects, the network interface 219 includes a network media processor 233 for supporting Apple AirPlay® and/or Apple Airplay® 2. For example, if a user connects an AirPlay® or Apple Airplay® 2 enabled device, such as an iPhone or iPad device, to the network, the user can then stream music to the network connected audio playback devices via Apple AirPlay® or Apple Airplay® 2. Notably, the audio playback device can support audio-streaming via AirPlay® Apple Airplay® 2 and/or DLNA's UPnP protocols, and all integrated within one device.

All other digital audio received as part of network packets may pass straight from the network media processor 233 through a USB bridge (not shown) to the processor 221 and runs into the decoders, DSP, and eventually is played back (rendered) via the electro-acoustic transducer(s) 214.

The network interface 219 can further include a Bluetooth circuitry 237 for Bluetooth applications (e.g., for wireless communication with a Bluetooth enabled audio source such as a smartphone or tablet) or other Bluetooth enabled speaker packages. In some aspects, the Bluetooth circuitry 237 may be the primary network interface 219 due to energy constraints. For example, the network interface 219 may use the Bluetooth circuitry 237 solely for mobile applications when the wearable device 110 adopts any wearable form. For example, BLE technologies may be used in the wearable device 110 to extend battery life, reduce package weight, and provide high quality performance without other backup or alternative network interfaces.

In an aspect, the network interface 219 supports communication with other devices using multiple communication protocols simultaneously at one time. For instance, the wearable device 110 can support Wi-Fi/Bluetooth coexistence and can support simultaneous communication using both Wi-Fi and Bluetooth protocols at one time. For example, the wearable device 110 can receive an audio stream from a smart phone using Bluetooth and can further simultaneously redistribute the audio stream to one or more other devices over Wi-Fi. In an aspect, the network interface 219 may include only one RF chain capable of communicating using only one communication method (e.g., Wi-Fi or Bluetooth) at one time. In this context, the network interface 219 may simultaneously support Wi-Fi and Bluetooth communications by time sharing the single RF chain between Wi-Fi and Bluetooth, for example, according to a time division multiplexing (TDM) pattern.

Streamed data may pass from the network interface 219 to the processor 221. The processor 221 can execute instructions (e.g., for performing, among other things, digital signal processing, decoding, and equalization functions), including instructions stored in the memory 227. The processor 221 can be implemented as a chipset of chips that includes separate and multiple analog and digital processors. The processor 221 can provide, for example, for coordination of other components of the audio wearable device 110, such as control of user interfaces.

In certain aspects, the protocols stored in the memory 227 may include BLE according to, for example, the Bluetooth Core Specification Version 5.2 (BT5.2). The wearable device 110 and the various components therein are provided herein to sufficiently comply with or perform aspects of the protocols and the associated specifications. For example, BT5.2 includes enhanced attribute protocol (EATT) that supports concurrent transactions. A new L2CAP mode is defined to support EATT. As such, the wearable device 110 includes hardware and software components sufficiently to support the specifications and modes of operations of BT5.2, even if not expressly illustrated or discussed in this disclosure. For example, the wearable device 110 may utilize LE Isochronous Channels specified in BT5.2.

The processor 221 provides a processed digital audio signal to the audio hardware 223 which includes one or more digital-to-analog (D/A) converters for converting the digital audio signal to an analog audio signal. The audio hardware 223 also includes one or more amplifiers which provide amplified analog audio signals to the electroacoustic transducer(s) 214 for sound output. In addition, the audio hardware 223 can include circuitry for processing analog input signals to provide digital audio signals for sharing with other devices, for example, other speaker packages for synchronized output of the digital audio.

The memory 227 can include, for example, flash memory and/or non-volatile random access memory (NVRAM). In some aspects, instructions (e.g., software) are stored in an information carrier. The instructions, when executed by one or more processing devices (e.g., the processor 221), perform one or more processes, such as those described elsewhere herein. The instructions can also be stored by one or more storage devices, such as one or more computer or machine-readable mediums (for example, the memory 227, or memory on the processor). The instructions can include instructions for performing decoding (i.e., the software modules include the audio codecs for decoding the digital audio streams), as well as digital signal processing and equalization. In certain aspects, the memory 227 and the processor 221 may collaborate in data acquisition and real time processing with the feedback microphone 111 and feedforward microphones 112.

FIG. 2B illustrates an exemplary computing device 120, such as a smartphone or a mobile computing device, in accordance with certain aspects of the present disclosure. Some components of the computing device 120 may be inherent and not shown in FIG. 2B. For example, the computing device 120 may include an enclosure. The enclosure may house an optional graphical interface 212 (e.g., an OLED display) as shown. The graphical interface 212 provides the user with information regarding currently playing (“Now Playing”) music or video. The computing device 120 includes one or more electro-acoustic transducers 215 for outputting audio. The computing device 120 may also include a user input interface 216 that enables user input.

The computing device 120 also includes a network interface 220, at least one processor 222, audio hardware 224, power supplies 226 for powering the various components of the computing device 120, and a memory 228. In an aspect, the processor 222, the graphical interface 212, the network interface 220, the audio hardware 224, the power supplies 226, and the memory 228 are interconnected using various buses 236, and several of the components can be mounted on a common motherboard or in other manners as appropriate. In some aspects, the processor 222 of the computing device 120 is more powerful in terms of computation capacity than the processor 221 of the wearable device 110. Such difference may be due to constraints of weight, power supplies, and other requirements. Similarly, the power supplies 226 of the computing device 120 may be of a greater capacity and heavier than the power supplies 225 of the wearable device 110.

The network interface 220 provides for communication between the computing device 120 and the wearable device 110, as well as other audio sources and other wireless speaker packages including one or more networked wireless speaker packages and other audio playback devices via one or more communications protocols. The network interface 220 can provide either or both of a wireless interface 230 and a wired interface 232 (optional). The wireless interface 230 allows the computing device 120 to communicate wirelessly with other devices in accordance with a wireless communication protocol such as IEEE 802.11. The wired interface 232 provides network interface functions via a wired (e.g., Ethernet) connection.

In certain aspects, the network interface 220 can also include a network media processor 234 and Bluetooth circuitry 238, similar to the network media processor 233 and Bluetooth circuitry 237 in the wearable device 110 in FIG. 2A. Further, in aspects, the network interface 220 supports communication with other devices using multiple communication protocols simultaneously at one time, as described with respect to the network interface 219 in FIG. 2A.

All other digital audio received as part of network packets comes straight from the network media processor 234 through a USB bridge 236 to the processor 222 and runs into the decoders, DSP, and eventually is played back (rendered) via the electro-acoustic transducer(s) 215.

The computing device 120 may also include an image or video acquisition unit 280 for capturing image or video data. For example, the image or video acquisition unit 280 may be connected to one or more cameras 282 and able to capture still or motion images. The image or video acquisition unit 280 may operate at various resolutions or frame rates according to a user selection. For example, the image or video acquisition unit 280 may capture 4K videos (e.g., a resolution of 3840 by 2160 pixels) with the one or more cameras 282 at 30 frames per second, FHD videos (e.g., a resolution of 1920 by 1080 pixels) at 60 frames per second, or a slow motion video at a lower resolution, depending on hardware capabilities of the one or more cameras 282 and the user input. The one or more cameras 282 may include two or more individual camera units having respective lenses of different properties, such as focal length resulting in different fields of views. The image or video acquisition unit 280 may switch between the two or more individual camera units of the cameras 282 during a continuous recording.

Captured audio or audio recordings, such as the voice recording captured at the wearable device 110, may pass from the network interface 220 to the processor 222. The processor 222 executes instructions within the wireless speaker package (e.g., for performing, among other things, digital signal processing, decoding, and equalization functions), including instructions stored in the memory 228. The processor 222 can be implemented as a chipset of chips that includes separate and multiple analog and digital processors. The processor 222 can provide, for example, for coordination of other components of the audio computing device 120, such as control of user interfaces and applications. The processor 222 provides a processed digital audio signal to the audio hardware 224 similar to the respective operation by the processor 221 described in FIG. 2A.

The memory 228 can include, for example, flash memory and/or non-volatile random access memory (NVRAM). In aspects, instructions (e.g., software) are stored in an information carrier. The instructions, when executed by one or more processing devices (e.g., the processor 222), perform one or more processes, such as those described herein. The instructions can also be stored by one or more storage devices, such as one or more computer or machine-readable mediums (for example, the memory 228, or memory on the processor 222). The instructions can include instructions for performing decoding (i.e., the software modules include the audio codecs for decoding the digital audio streams), as well as digital signal processing and equalization.

Example Hearing Augmentation and Wearable System with Localized Feedback

Aspects of the present disclosure provide techniques, including devices and system implementing the techniques, to provide feedback to a user of an event when the user is wearing a wearable device. For example, the wearable device may provide high quality noise canceling audio playback to the user, lowering the user's situation awareness. The feedback may, through a spatialized audio cue, notify the user regarding events that merit attention with minimal intrusion to the noise-cancelled playback experience. The techniques include measuring ambient sound using two or more microphones on the wearable device. In some cases, at least three microphones are positioned to measure the ambient sound surrounding the user. The event is determined based on the measured ambient sound and a location attribute of the event is determined. A deep learning algorithm may be used to identify the nature and/or classification of the event and rule out events that the user prefers to ignore. Upon determining the event that need the user's attention, the user is provided feedback of the determined event and the location attribute, the feedback indicating the nature and location of the event.

In aspects, the wearable device may play, via two or more speakers thereon, an audio content canceling the measured ambient sound. For example, the two or more speakers may play audio content that has the same amplitude as the ambient sound and has an inverted phase to the ambient sound. The interference caused by the noise-canceling audio content thus cancels the ambient sound. In aspects, providing feedback to the user based on the event and the location attribute includes playing a spatialized audio cue in addition to the noise-canceling audio content. As such, the user can maintain situational awareness while escaping from the ambient sound.

As an example, determining the event based on the measured ambient sound may include measuring a magnitude of a sound level of the event and determining a location of the event relative to the wearable device using audio signals associated with the event. The location of the event may be determined based on a direction and a distance processed from the audio signals. The location attribute of the event may include at least one of the direction or the distance. For example, the user may not want to be notified regarding the user's own speech. Events related to a distance within certain threshold may be determined as the user's own speech and are therefore ignored. Similarly, although the user may be submerged in a noise-cancelling experience, the user may still be aware of events that are visually identifiable. For example, if a colleague of the user is speaking in front of the user, the user need not hear the speech to be aware of the speech, because the movement of the colleague's lips may provide sufficient visual notification to the user. As such, location attributes are important aspects of determining events that may or may not need the user's attention.

FIG. 3 illustrates example operations 300 for providing feedback to a user of a determined event and the location attribute, according to certain aspects of the present disclosure. The operations 300 begins, at 302, by measuring ambient sound using two or more microphones. In some cases, at least three microphones are positioned to measure the ambient sound surrounding the user. For example, block 302 may be performed by the wearable device 110 and the microphones 111 and 112 as shown in FIG. 1. Additional examples are shown in FIG. 4, where microphones 413, 415, and 425 are used to measured ambient sound. The measured ambient sound may be used for generating noise cancelation content and monitored for events that require the user's attention, as further described below.

At 304, an event determination algorithm may determine an event based on the measured ambient sound. For example, the event determination algorithm may measure a magnitude of a sound level of the event and determine a location of the event relative to the wearable device using audio signals associated with the event. The event determination algorithm may determine that the magnitude of the sound level of the event has exceeded a threshold value corresponding to the location of the event relative to the wearable device (e.g., different relative locations may have different threshold values). For example, the threshold value may vary based on the location of the event relative to the wearable device. The threshold value may increase as the location of the event becomes closer to the user, such that sounds produced by the user may be excluded.

In some cases, the event determination algorithm may monitor and calculate an average magnitude (i.e., decibel level) of the background noise and consider incoming sounds that exceeds the average decibel level as event candidates. In some cases, the event determination algorithm may use a user-input threshold value for the decibel level in determining event candidates. In some cases, the event determination algorithm may use a history or pattern of ambient sound as the reference to identify unusually loud sounds. A combination of two or more of the example strategies may be implemented.

At 306, the event determination algorithm determines a location attribute of the event. The location attribute of the event may include at least one of a direction relative to the user/wearable device and a distance between the event and the user/wearable device. In some cases, the location of the event may be determined based on a direction and a distance processed from the audio signals. For example, the two or more microphones allows the event determination algorithm to correlate and/or triangulate sounds of similar characteristics for determining the location. For example, a same sound would reach each of the two or more microphones at different times due to different travel distances, allowing for determination of the relative location to the two or more microphones. A direction and a distance may therefore be processed from the audio signals to determine the location of the event. As shown in FIG. 4, different amounts of delays (e.g., the measurements plotted in the graphs 410 and 420, respectively for pairs of 413 and 415, and 415 and 425) of a same sound signal allow the event determination algorithm to perform far-field localization of the sound signals, as shown in the sub-diagram 430.

In some cases, the event determination algorithm may determine the event based on the ambient sound by ruling out incidents of events based on the location of the event relative to the wearable device. For example, the event determination algorithm may rule out incidents that are within a certain distance to the wearable device (e.g., classifying the incidents caused by the user, such as the user's own speech, etc.), incidents that are within a field of view or in a direction (such as in the front) of the wearable device (e.g., classifying the incidents visually noticeable by the user, such as a computer notification sound from a speaker in front of the user, someone speaking before the user, etc.), or incidents that may be too far away to require the user's attention (e.g., incidents of traffic noises outside residence perimeter, etc.). Some examples are further illustrated in FIG. 5 and discussed below.

In some cases, the event determination algorithm may determine the event based on the ambient sound by ruling out incidents of events based on a recurring pattern in the audio signals associated with the event. For example, the event determination algorithm may analyze a history of recorded ambient sound to identify a pattern of ambient sound that had been ignored by the user, and determine whether a detected event fits the pattern and is to be ignored.

In some cases, the event determination algorithm may determine the event based on the ambient sound by ruling out incidents of events based on an attribute of the audio signals associated with the event. For example, the attribute of the audio signals may indicate where, what, or who the audio signals are associated with. The event determination algorithm may distinguish a fire alarm inside from a siren outside, or distinguish a speech from an acquaintance (e.g., based on previous recorded events) from a speech from a stranger.

In some cases, the event determination algorithm may determine the event based on correlating the location of the event relative to the wearable device, the recurring pattern in the audio signals associated with the event, and the attribute of the audio signals associated with the event. For example, the event determination algorithm may use deep learning to recognize the nature or meaning of the audio signals of the event. Deep learning, or machine learning in more general situations, may use artificial neural networks with representation/feature learning performed by artificial intelligence. As further discussed with respect to FIGS. 6-7 below, the event determination algorithm may employ artificial intelligence to perform deep learning over data of the location of the event relative to the wearable device, the recurring pattern in the audio signals associated with the event, and the attribute of the audio signal associated with the event. Deep learning may accurately determine which event merit the user's attention and disregard false-positive events.

At 308, the user is provided with feedback of the determined event and the location attribute. For example, the feedback may include playing a spatialized sound by the two or more speakers in the wearable device, providing a direction indicative tactile notification using the wearable device, displaying a notification on one or more devices connected to the wearable device, or a combination thereof. The spatialized sound may be produced using two or more speakers of the wearable device (e.g., the speakers capable of producing a surround sound). The spatialized sound may represent the location (e.g., the location attribute) of the determined event relative to the user. The wearable device may include two or more tactile feedback mechanisms for providing directional input (e.g., left/right, up/down, etc.). FIG. 5 illustrates one example of displaying the notification in the form of a visual presentation 500 of recorded incidents.

As shown in FIG. 5, the visual representation 500 plots detected incidents over left-to-right (L-R) delays in the x-axis (i.e., time delays indicating relative distance to the wearable device), and over front-to-back (F-B) delays in the y-axis. The circular range 540 indicates a range of delay pairs consistent with far-field sound sources. The visual representation 500 includes a user's field of view 520 and a related forward direction 530. Incidents detected within the user's field of view 520 may be presumed to be ignorable. The forward direction 530, aligned with the wearable device and subject to change (e.g., as the user moves) may be used to update the coverage of incidents in the field of view 520. For example, the forward direction 530 may be defined when the wearable device is initialized and may be updated using input from one or more motion sensors, such as an accelerometer, gyroscope, or an inertia measurement unit (IMU).

A number of example incidents 510, 512, and 514 are shown in FIG. 5. The incidents 510 represent events that exceeds the threshold sound level and fall within the field of view 520. As a result, the incidents 510 are not reported to the user. The incidents 512 represent events that exceed the threshold sound level and fall outside the field of view 520. Furthermore, the incidents 512 are associated with a non-focused state of the user and therefore not reported to the user. The incidents 514 represent events that exceed the threshold sound level, that fall outside of the field of view 520, and that are associated with a focused state of the user. The incidents 514 are reported to the user, along with the associated location attribute, which may be presented as both a spatialized audio cue and by the visual representation 500.

For example, the event determination algorithm may determine that the user is in a focused state based on a pattern of motion signals measured by the wearable device. The pattern of motion signals may be measured by one or more IMUs disposed on the wearable device. As the user's situational awareness decreases in the focused state, such as when the user is sitting still reading or watching, feedback on the detected incidents are more valuable in such focused state. An example measurement 800 of motion signals is shown in FIG. 8.

Briefly turning to FIG. 8, the x-axis 802 represents time, and the y-axis 804 represents energy measured by a gyroscope or a motion sensor in general. As shown, a low energy level pattern 816 represents a focused state of the user, while a high energy level pattern 818 represents a movement state. Incidents 512 are ignored when the user is not in the focused state because the sound signals may include noises created due to the user's own movement. In some cases, determining the user being in the focused state may include processing a pattern of motion signals. The pattern of motion signals need not indicate the user is sitting or standing still, but rather, indicate a repetitive pattern such as pacing or rocking back and forth.

One important aspect of the present disclosure pertains to determining the event (such as the incident 514) using deep learning based on various layers of data, including audio attributes, location attributes, and the status of the user. At a high level, the deep learning aspect detects events based on multiple classes or categories, by analyzing various attributes of audio signals (e.g., distinguishing the source and nature of a sound signal). Second, the deep learning aspect may decide a class or category of each detected event (e.g. voice, alarm, knock, etc.) and an associated priority level. The deep learning may be supervised (e.g., constantly receiving user feedback), semi-supervised (e.g., occasionally receiving user feedback), and unsupervised (e.g., not receiving user feedback). One example of the deep learning process 600 for determining events that require the user's attention is shown in FIG. 6.

As shown in FIG. 6, the deep learning process 600 begins at 610 by receiving an input audio. Although illustrated as a single-channel audio stream, the input audio often includes at least two channels of recordings (e.g., for localization analysis). The two or more channels of input audio may be analyzed in parallel. At 620, features in the input audio are extracted. The features may be identified based on magnitude, frequency, patterns, or a combination thereof. An example of feature extraction is illustrated in FIG. 7.

Briefly turning to FIG. 7, the plot 705 shows using sound energy (y-axis) to determine measured and predicted events along time (frames in the x-axis). For example, three example energy profiles 710, 712, and 714 are shown. The profile 710 may include voice and other sound signals, which may correspond to the audio signals 723 of the graph 725 to the right. The profile 712 represents the quantity of the energy of voice signals present. The event determination algorithm may be trained to predict, as shown in the profile 714, an expected energy variation of voice-only activity and ignores the energy of non-speech events. For example, in the graph 725, the events 731 or 721 represent the voice-only energy portion of the recording signals 723. The signals 722 shows high energy during a knocking sound 732, while the voice energy portion during this time remains small.

Returning to FIG. 6, at 630, filters are applied to the extracted features and to further classify events associated with the features of the input audio. At 640, analysis of localization based on two or more channels of input audio is performed, resulting in two recognition outputs 650 and 654. The output 650 includes sound event detection with multi-label classification, which may indicate the nature of the events detected, such as speech 641, sounds 642 associated with car horns, dog barking 643, or siren (not shown). The detected sounds are recorded along a time line T, with each frame having a period of t. The output 654 provides direction of arrival estimation, such that the directions of the events detected, such as speech 641, sounds 642 associated with car horns, dog barking 643, may be determined by determining an X-Y-Z coordinate of the origin of each event. In some aspects, the techniques variously described herein can be used to determine contextual information for a wearable device and/or the user of the wearable device. For instance, the techniques can be used to help determine aspects of the user's environment (e.g., noisy location, quiet location, indoors, outdoors, on an airplane, in a car, etc.) and/or activity (e.g., commuting, walking, running, sitting, driving, flying, etc.). In some such aspects, the audio data received from the wearable device can be processed at the computing device to determine such contextual information and provide new or enhanced experiences to the user. For example, this could enable playlist or audio content customization, noise cancellation adjustment, and/or other settings adjustments (e.g., audio equalizer settings, volume settings, notification settings, etc.), to name a few examples. As wearable devices (e.g., headphones or earbuds) typically have limited resources (e.g., memory and/or processing resources), using the techniques described herein to offload the processing of data from sensors of the wearable device(s) to a computing device while having a system to synchronize the audio data at the computing device provides a variety of applications. In some aspects, the techniques disclosed herein enables the computing device to automatically identify an optimized or a most favorable configuration or setting for the synchronized audio capture operations.

In some aspects, the techniques variously described herein can be used for a multitude of audio/video applications. In addition, the techniques described herein can enable wireless captured audio for audio or video messages without interrupting a user's music or audio playback. Thus, the techniques described herein enable the ability to produce immersive and/or noise-free audio for videos using a wireless configuration. Moreover, as can be understood based on this disclosure, the techniques described enable schemes that were only previously achievable using a wired configuration, so the techniques described free the user from the undesirable and uncomfortable experience of being tethered by one or more wires.

It can be noted that, descriptions of aspects of the present disclosure are presented above for purposes of illustration, but aspects of the present disclosure are not intended to be limited to any of the disclosed aspects. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described aspects.

In the preceding, reference is made to aspects presented in this disclosure. However, the scope of the present disclosure is not limited to specific described aspects. Aspects of the present disclosure can take the form of an entirely hardware aspect, an entirely software aspect (including firmware, resident software, micro-code, etc.) or an aspect combining software and hardware aspects that can all generally be referred to herein as a “component,” “circuit,” “module” or “system.” Furthermore, aspects of the present disclosure can take the form of a computer program product embodied in one or more computer readable medium(s) having computer readable program code embodied thereon.

Any combination of one or more computer readable medium(s) can be utilized. The computer readable medium can be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples a computer readable storage medium include: an electrical connection having one or more wires, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the current context, a computer readable storage medium can be any tangible medium that can contain, or store a program.

The flowchart and block diagrams in the Figures illustrate the architecture, functionality and operation of possible implementations of systems, methods and computer program products according to various aspects. In this regard, each block in the flowchart or block diagrams can represent a module, segment or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations the functions noted in the block can occur out of the order noted in the figures. For example, two blocks shown in succession can, in fact, be executed substantially concurrently, or the blocks can sometimes be executed in the reverse order, depending upon the functionality involved. Each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations can be implemented by special-purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions. 

What is claimed is:
 1. A method for providing feedback to a user of a wearable device comprising: measuring ambient sound using two or more microphones on the wearable device; determining an event based on the measured ambient sound; determining a location attribute of the event relative to the wearable device, wherein determining the event is based, at least in part, on a deep learning analysis performed by artificial intelligence using the location attribute of the event and a recurring pattern in audio signals associated with the event; determining that a pattern of motion signals measured by one or more inertia measurement units (IMUs) disposed on the wearable device is below an energy level threshold; determining that the user is in a focused state based on the pattern of motion signals being below the energy level threshold; and providing feedback to the user, via the wearable device, based on the event the location attribute of the event, and the determined focused state, wherein the feedback comprises a notification indicative of the location attribute of the event.
 2. The method of claim 1, wherein providing feedback to the user based on the event and the location attribute comprises playing a spatialized audio cue in addition to audio content output by the wearable device.
 3. The method of claim 1, wherein determining the event based on the measured ambient sound comprises: measuring a magnitude of a sound level of the event; and determining a location of the event relative to the wearable device using the audio signals associated with the event, wherein the location of the event is determined based on a direction and a distance processed from the audio signals and wherein the location attribute of the event includes at least one of the direction or the distance.
 4. The method of claim 3, wherein determining the event based on the ambient sound further comprises ruling out incidents of events based on at least one of: the location of the event relative to the wearable device; the recurring pattern in the audio signals associated with the event; or an attribute of the audio signals associated with the event.
 5. The method of claim 3, wherein determining the event based on the measured ambient sound comprises: determining that the magnitude of the sound level of the event exceeds a threshold value corresponding to the location of the event relative to the wearable device.
 6. The method of claim 5, wherein the threshold value varies based on the location of the event relative to the wearable device and the threshold value increases as the location of the event becomes closer to the user.
 7. The method of claim 4, wherein determining the event based on the ambient sound is based, at least in part, on correlating: i) the location of the event relative to the wearable device, ii) the recurring pattern in the audio signals associated with the event, and iii) the attribute of the audio signal associated with the event.
 8. The method of claim 7, wherein determining the event is further based, at least in part, on a deep learning analysis performed by artificial intelligence using the attribute of the audio signal associated with the event.
 9. The method of claim 1, wherein providing feedback to the user based on the event comprises at least one of: playing a spatialized sound using at least one speaker of the wearable device; providing a direction-indicative tactile notification using the wearable device; or displaying a notification on one or more devices connected to the wearable device.
 10. The method of claim 9, wherein the spatialized sound represents a location of the determined event relative to the user, wherein the represented location is based on at least the location attribute.
 11. The method of claim 1, wherein the two or more microphones on the wearable device includes at least three microphones positioned to measure the ambient sound surrounding the user.
 12. The method of claim 1, wherein the wearable device is an audio device worn on at least one of the head or neck of the user.
 13. The method of claim 1, wherein the wearable device includes at least one of over-ear headphones, on-ear headphones, in-ear headphones, earbuds, truly wireless earbuds, glasses, a headband, a neckband, ear hooks, ear clips, a head-worn audio device, or a neck-worn audio device.
 14. The method of claim 1, wherein the wearable device is a noise cancelling audio device.
 15. A system comprising: a wearable device having two or more microphones configured to measure ambient sound; and a computing device connected with the wearable device, the computing device configured to: determine an event based on the measured ambient sound, determine a location attribute of the event relative to the wearable device, wherein determining the event is based, at least in part, on a deep learning analysis performed by artificial intelligence using the location attribute of the event and a recurring pattern in audio signals associated with the event; determine that a pattern of motion signals measured by one or more inertia measurement units (IMUs) disposed on the wearable device is below an energy level threshold; determine that a user of the wearable device is in a focused state based on the pattern of motion signals being below the energy level threshold; and cause feedback to be provided to the user, via the wearable device, based on the event, the location attribute of the event, and the determined focused state, wherein the feedback comprises a notification indicative of the location attribute of the event.
 16. The system of claim 15, wherein the wearable device further comprises two or more speakers configured to: play an audio content canceling the measured ambient sound; and alert the user of the determined event by playing a spatialized audio cue in addition to the audio content.
 17. The system of claim 15, wherein the wearable device further comprises an actuator for providing a tactile feedback in response to the computing device providing feedback to the user based on the event.
 18. The system of claim 15, wherein the computing is further configured to rule out incidents of events based on at least one of: the location of the event relative to the wearable device; the recurring pattern in the audio signals associated with the event; or an attribute of the audio signals associated with the event.
 19. A computer-implemented method for providing feedback to a user comprising: receiving ambient sound measurements, the ambient sound measurements measured using two or more microphones of a wearable device; determining an event based on the measured ambient sound; determining a location attribute of the event relative to the wearable device, wherein determining the event is based, at least in part, on a deep learning analysis performed by artificial intelligence using the location attribute of the event and a recurring pattern in audio signals associated with the event; determining that a pattern of motion signals measured by one or more inertia measurement units (IMUs) disposed on the wearable device is below an energy level threshold; determining that the user is in a focused state based on the pattern of motion signals being below the energy level threshold; and causing feedback to be provided to the user, via the wearable device, based on the event, the location attribute of the event, and the determined focused state, wherein the feedback comprises a notification indicative of the location attribute of the event.
 20. The computer-implemented method of claim 19, wherein the feedback comprises playing a spatialized audio cue in addition to audio content output by the wearable device.
 21. The computer-implemented method of claim 19, wherein determining the event based on the measured ambient sound comprises: measuring a magnitude of a sound level of the event; and determining a location of the event relative to the wearable device using the audio signals associated with the event, wherein the location of the event is determined based on a direction and a distance processed from the audio signals and wherein the location attribute of the event includes at least one of the direction or the distance.
 22. The computer-implemented method of claim 21, wherein determining the event based on the ambient sound further comprises ruling out incidents of events based on at least one of: the location of the event relative to the wearable device; the recurring pattern in the audio signals associated with the event; or an attribute of the audio signals associated with the event.
 23. The computer-implemented method of claim 21, wherein determining the event based on the measured ambient sound comprises: determining that the magnitude of the sound level of the event exceeds a threshold value corresponding to the location of the event relative to the wearable device.
 24. The method of claim 23, wherein the threshold value varies based on the location of the event relative to the wearable device and the threshold value increases as the location of the event becomes closer to the user. 